{% extends 'mobile/base.html' %}

{% set title = _('Help us write help articles') %}
{% set headline = title %}

{% set styles = ('mobile-landings-get-involved',) %}

{% set canonical_url = canonicalize(viewname='landings.get_involved_kb') %}

{% block content %}
  <div class="padded">
    <h3>{{ _('Help us write help articles!') }}</h3>
    <div class="centered">
      <img class="smart-width" src="{{ STATIC_URL }}sumo/img/gi-hero-kb.png" alt="">
    </div>
    <h3>{{ _('Share your wisdom with the world.') }}</h3>
    <p>
      {% trans %}
        If you like writing and teaching then the Knowledge Base is the
        place for you. We need contributors that can write, edit or proof
        read articles in English. Thousands of people are accessing our
        Knowledge Base every week. Imagine how many will be helped by you!
      {% endtrans %}
    </p>

    <div class="centered">
      <img class="smart-width" src="{{ STATIC_URL }}sumo/img/gi-visual-kb.png" alt="">
      <p>
        {{ _('1 article can be viewed by 400 million users and translated into 70+ languages') }}
      </p>
    </div>

    <h4>{{ _('How it works') }}</h4>
    <ol>
      <li>
        {% set user_is_contributor = is_contributor(user) %}
        {% set message =  _('Sign up as a volunteer') %}
        {% if not user_is_contributor and request.LANGUAGE_CODE in AAQ_LANGUAGES %}
          <a href="#" data-trigger="click" data-trigger-target="#sign-up-contributor">{{ message }}</a>
        {% else %}
          {{ message }}
        {% endif %}
      </li>
      <li>
        <a href="{{ url('forums.posts', 'contributors', 708942) }}">
          {{ _('Introduce yourself') }}
        </a>
      </li>
      <li>
        <a href="{{ url('wiki.document', 'improve-knowledge-base') }}">
          {{ _('Watch our videos and check our documentation') }}
        </a>
      </li>
    </ol>

    <h4>{{ _('Pick a way to get involved') }}</h4>
  </div>
  <ul class="gi-links">
    <li>
      <a href="{{ url('landings.get_involved_questions') }}">
        {{ _('Answer questions in the support forum') }}
      </a>
    </li>
    <li>
      <a href="{{ url('landings.get_involved_l10n') }}">
        {{ _('Translate help to your languages') }}
      </a>
    </li>
  </ul>

  {% set user_is_contributor = is_contributor(user) %}
  {% set signup_headline = _('Improve our help articles') %}
  {% include 'landings/mobile/includes/register_contributor.html' %}

{% endblock %}
